package com.ruoyi.basedata.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * 客户对象 finer_customer
 * 
 * @author wangjin
 * @date 2024-10-24
 */
public class Customer extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Integer Id;

    /** 客户编号 */
    @Excel(name = "客户编号")
    private String cusCode;

    /** 客户名称 */
    @Excel(name = "客户名称")
    private String cusName;

    /** 创建时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date createDate;
    @Excel(name = "创建人")
    private String createBy;
    @Excel(name = "修改人")
    private String modifyBy;
    /** 修改时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "修改时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date modifyDate;

    @Override
    public String getCreateBy() {
        return createBy;
    }

    @Override
    public void setCreateBy(String createBy) {
        this.createBy = createBy;
    }

    public String getModifyBy() {
        return modifyBy;
    }

    public void setModifyBy(String modifyBy) {
        this.modifyBy = modifyBy;
    }

    /** 0-存在，1-删除 */
    @Excel(name = "0-存在，1-删除")
    private Integer isDel;

    private String createName;
    private String cusPhone;

    public String getCusPhone() {
        return cusPhone;
    }

    public void setCusPhone(String cusPhone) {
        this.cusPhone = cusPhone;
    }

    public String getCreateName() {
        return createName;
    }

    public void setCreateName(String createName) {
        this.createName = createName;
    }

    public String getModifyName() {
        return modifyName;
    }

    public void setModifyName(String modifyName) {
        this.modifyName = modifyName;
    }

    private String modifyName;

    public void setId(Integer Id)
    {
        this.Id = Id;
    }

    public Integer getId() 
    {
        return Id;
    }
    public void setCusCode(String cusCode) 
    {
        this.cusCode = cusCode;
    }

    public String getCusCode() 
    {
        return cusCode;
    }
    public void setCusName(String cusName) 
    {
        this.cusName = cusName;
    }

    public String getCusName() 
    {
        return cusName;
    }
    public void setCreateDate(Date createDate) 
    {
        this.createDate = createDate;
    }

    public Date getCreateDate() 
    {
        return createDate;
    }
    public void setModifyDate(Date modifyDate) 
    {
        this.modifyDate = modifyDate;
    }

    public Date getModifyDate() 
    {
        return modifyDate;
    }
    public void setIsDel(Integer isDel) 
    {
        this.isDel = isDel;
    }

    public Integer getIsDel() 
    {
        return isDel;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("Id", getId())
            .append("cusCode", getCusCode())
            .append("cusName", getCusName())
            .append("createBy", getCreateBy())
            .append("createDate", getCreateDate())
            .append("modifyDate", getModifyDate())
            .append("isDel", getIsDel())
            .toString();
    }
}
